﻿using System;

namespace YArchitech.HCLoad.XmlData
{
	public class HcObjectTypeName
	{
		public static HcObjectType ToType(string sObjTypeName)
		{
			if ("OutDoor" == sObjTypeName)
			{
				return HcObjectType.LO_OutDoor;
			}
			if ("OutWall" == sObjTypeName)
			{
				return HcObjectType.LO_OutWall;
			}
			if ("OutWindow" == sObjTypeName)
			{
				return HcObjectType.LO_OutWindow;
			}
			if ("SkyLight" == sObjTypeName)
			{
				return HcObjectType.LO_SkyLight;
			}
			if ("Roof" == sObjTypeName)
			{
				return HcObjectType.LO_Roof;
			}
			if ("Ground" == sObjTypeName)
			{
				return HcObjectType.LO_Ground;
			}
			if ("StringBord" == sObjTypeName)
			{
				return HcObjectType.LO_Stringboard;
			}
			if ("InDoor" == sObjTypeName)
			{
				return HcObjectType.LO_InDoor;
			}
			if ("InWall" == sObjTypeName)
			{
				return HcObjectType.LO_InWall;
			}
			if ("InWindow" == sObjTypeName)
			{
				return HcObjectType.LO_InWindow;
			}
			if ("HangFloor" == sObjTypeName)
			{
				return HcObjectType.LO_AerialBoard;
			}
			if ("ArcWall" == sObjTypeName)
			{
				return HcObjectType.LO_ArcWall;
			}
			if ("BayWindow" == sObjTypeName)
			{
				return HcObjectType.LO_FlyWindow;
			}
			if ("Body" == sObjTypeName)
			{
				return HcObjectType.LO_Body;
			}
			if ("Equipment" == sObjTypeName)
			{
				return HcObjectType.LO_Equipment;
			}
			if ("Lighting" == sObjTypeName)
			{
				return HcObjectType.LO_Lighting;
			}
			if ("FreshAir" == sObjTypeName)
			{
				return HcObjectType.LO_FreshAir;
			}
			if ("Food" == sObjTypeName)
			{
				return HcObjectType.LO_Food;
			}
			if ("FlowWater" == sObjTypeName)
			{
				return HcObjectType.LO_FlowWater;
			}
			if ("Water" == sObjTypeName)
			{
				return HcObjectType.LO_Water;
			}
			if ("Chemistry" == sObjTypeName)
			{
				return HcObjectType.LO_Chemistry;
			}
			if ("FilterAir" == sObjTypeName)
			{
				return HcObjectType.LO_Filter;
			}
			if ("Other" == sObjTypeName)
			{
				return HcObjectType.LO_Other;
			}
			return HcObjectType.LO_Unknown;
		}

		public const string HC_HANGFLOOR = "HangFloor";

		public const string HC_ARCWALL = "ArcWall";

		public const string HC_BAYWINDOW = "BayWindow";

		public const string HC_DOOR = "OutDoor";

		public const string HC_ITEMFLOOR = "StringBord";

		public const string HC_GROUND = "Ground";

		public const string HC_INDOOR = "InDoor";

		public const string HC_INWINDOW = "InWindow";

		public const string HC_INWALL = "InWall";

		public const string HC_ROOF = "Roof";

		public const string HC_SKYLIGHT = "SkyLight";

		public const string HC_WALL = "OutWall";

		public const string HC_WINDOW = "OutWindow";

		public const string HC_BODY = "Body";

		public const string HC_EQUIPMENT = "Equipment";

		public const string HC_LIGHTING = "Lighting";

		public const string HC_FRESHAIR = "FreshAir";

		public const string HC_FOOD = "Food";

		public const string HC_FLOWWATER = "FlowWater";

		public const string HC_WATER = "Water";

		public const string HC_CHEMISTRY = "Chemistry";

		public const string HC_FILTERAIR = "FilterAir";

		public const string HC_OTHER = "Other";
	}
}
